package com.chen.back.service.impl;

import com.chen.back.entity.ChooseCourse;
import com.chen.back.entity.RabbitMq;
import com.chen.back.mapper.ChooseCourseMapper;
import com.chen.back.service.ChooseCourseService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
//import org.springframework.amqp.core.Message;
//import org.springframework.amqp.rabbit.annotation.RabbitHandler;
//import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author chen
 * @since 2022-02-24
 */
@Service
//@RabbitListener(queues = {"atguigu"})
public class ChooseCourseServiceImpl extends ServiceImpl<ChooseCourseMapper, ChooseCourse> implements ChooseCourseService {

//    @RabbitListener(queues = {"atguigu"})
//    public void message(Message message,RabbitMq orderEntity)
//    {
//
//        System.out.println("监听的内容"+orderEntity);
//    }


}
